package com.liveinstars.api.im.vo;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.List;

/**
 * @author: zhouze
 * @date: 2020/3/20
 */
@Data
public class CandyKidsVO {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 头像
     */
    private String logo;

    /**
     * 获得糖果数量
     */
    private Long candyNum;

    /**
     * 糖果类型
     */
    private Integer candyType;

    public static List<CandyKidsVO> mockList() {
        List<CandyKidsVO> list = Lists.newArrayList();
        CandyKidsVO vo = new CandyKidsVO();
        vo.setCandyNum(1L);
        vo.setCandyType(1);
        vo.setLogo("https://appsrc.8btc.com/1584088609753365688.png");
        vo.setUserId(365688L);
        vo.setUserName("马路边一分钱");
        list.add(vo);

        vo = new CandyKidsVO();
        vo.setCandyNum(5L);
        vo.setCandyType(1);
        vo.setLogo("https://bbtcdn.8btc.com/uc_server/data/avatar/000/36/96/56_avatar_middle.jpg");
        vo.setUserId(369656L);
        vo.setUserName("听听看星星");
        list.add(vo);

        vo = new CandyKidsVO();
        vo.setCandyNum(4L);
        vo.setCandyType(1);
        vo.setLogo("https://appserversrc.8btc.com/avatars/225008/20200227094036_225008.jpeg");
        vo.setUserId(225008L);
        vo.setUserName("儀礼");
        list.add(vo);
        return list;
    }
}
